

package com.zdkj.subway.rca.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.rca.dto.CkMarketingTicketElecConfirmDTO;
import com.zdkj.subway.rca.dto.SwCkElectronicReceiptConfirmDTO;
import com.zdkj.subway.rca.entity.CodeName;
import com.zdkj.subway.rca.entity.SwCkElectronicReceipt;
import com.zdkj.subway.rca.entity.SwCkElectronicReceiptExport;
import com.zdkj.subway.rca.entity.ViewCkMarketingTicketElec;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 电子账单
 *
 * @author cooze
 * @date 2020-10-24 21:52:04
 */
public interface SwCkElectronicReceiptService extends IService<SwCkElectronicReceipt> {

    /**
     * 获取所有的票种
     *
     * @return 出参
     */
    List<CodeName> getAllTicketType();

    /**
     * 电子账单导出数据
     *
     * @param export   入参
     * @param response 响应流
     */
    void exportExcel(SwCkElectronicReceiptExport export, HttpServletResponse response);


    /**
     * 确认电子账单
     *
     * @param dto 请求参数
     */
    void confirmStatus(SwCkElectronicReceiptConfirmDTO dto);

    /**
     * 营销车票与电子回执单数据对账查询
     * @param ticketType
     * @param confirmStatus
     * @param startDate
     * @param endDate
     * @return
     */
    List<ViewCkMarketingTicketElec> queryCkMarketingTicketElec(String ticketType, String confirmStatus, String startDate, String endDate);



}
